package swu.edu.cn.javaee.entity;

import org.apache.ibatis.type.Alias;

@Alias("article")
public class Article {
    private String new_id;
    private String tag;
    private String author;
    private String title;
    private String content;
    private String description;//摘要
    private String creation_time;//创建时间
    private String audit_flag;//审核标志
    private String auditor;//审核人
    private String opinion;//审核意见
    private String publish_time;
    private String publish_not;//是否发布

    public String getNew_id() {
        return new_id;
    }

    public void setNew_id(String new_id) {
        this.new_id = new_id;
    }
    public String getTag(){
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAudit_flag() {
        return audit_flag;
    }

    public void setAudit_flag(String audit_flag) {
        this.audit_flag = audit_flag;
    }

    public String getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(String creation_time) {
        this.creation_time = creation_time;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public String getPublish_time() {
        return publish_time;
    }

    public void setPublish_time(String publish_time) {
        this.publish_time = publish_time;
    }

    public String getPublish_not() {
        return publish_not;
    }

    public void setPublish_not(String publish_not) {
        this.publish_not = publish_not;
    }

    public Article(){
        this.new_id="";
        this.tag="";
        this.author="";
        this.title="";
        this.content="";
        this.description="";
        this.creation_time="";
        this.audit_flag="";
        this.auditor="";
        this.opinion="";
        this.publish_time="";
        this.publish_not="";
    }


    @Override
    public String toString() {
        return "Article{" +
                "new_id=" + new_id +
                ", tag='" + tag + '\'' +
                ", author='" + author + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", description='" + description + '\'' +
                ", creation_time='" + creation_time + '\'' +
                ", audit_flag='" + audit_flag + '\'' +
                ", auditor='" + auditor + '\'' +
                ", opinion='" + opinion + '\'' +
                ", publish_time='" + publish_time + '\'' +
                ", publish_not='" + publish_not + '\'' +
                '}';
    }

}
